import CmdDlgElectricalInfosManage from "./views/WorkAreaComponents/EletronicTool/CmdDlgElectricalInfosManage.vue";

const Page404 = () => import ('./views/PageError/Page404.vue');
const SoundInsulationWeightTool = () => import('./views/WorkAreaComponents/SoundInsulationWeightTool/CmdDlgSoundInsulationWeight.vue');
const SoundInsulationMaterialTool = () => import('./views/WorkAreaComponents/SoundInsulationMaterialTool/CmdDlgSoundInsulationMaterialTool.vue');
const FastenerInfoImport = () => import('./views/WorkAreaComponents/SoundInsulationFastenerTool/FastenerInfoImportDlg.vue');
const FastenerInfoExport = () => import('./views/WorkAreaComponents/SoundInsulationFastenerTool/FastenerInfoExportDlg.vue');
const EdzEdgeAutoConnectTool = () => import('./views/WorkAreaComponents/EdzEdgeAutoConnect/CmdDlgEdzSegmentAutoConnect.vue');
const ConvertHIToHATool = () => import('./views/WorkAreaComponents/HIToHATool/CmdDlgConvertHIToHA.vue');
const EletronicInfoImportTool = () => import('./views/WorkAreaComponents/EletronicTool/CmdDlgElectricalInfoImport.vue');
const EletronicInfoExportTool = () => import('./views/WorkAreaComponents/EletronicTool/CmdDlgElectricalInfoExport.vue');
const ElectricalCableImport = () => import('./views/WorkAreaComponents/EletronicTool/ElectricalCableImportDlg.vue');
const MeasureCableTool = () => import('./views/WorkAreaComponents/BundleSegmetExportTool/CmdDlgMeasureCable.vue');
const BundleSegmentExportTool = () => import('./views/WorkAreaComponents/BundleSegmetExportTool/CmdDlgBundleSegmentExport.vue');
const CompositeMaterialManageTool = () => import('./views/WorkAreaComponents/CompositeMaterialTool/CmdDlgCompositeMaterialManage.vue');
const FlightControlSimulationDesign = () => import('./views/WorkAreaComponents/FlightControlSimulationTool/CmdDlgFlightControlSimulationDesign.vue');
const FlightControlUploadXML = () => import('./views/WorkAreaComponents/FlightControlSimulationTool/CmdDlgUploadXML.vue');
const FrameHeatSoundInsulation = () => import('./views/WorkAreaComponents/HeatAndSoundInsulation/FrameHeatSoundInsulationDlg.vue');
const FastenerInstantiatedTool = () => import('./views/WorkAreaComponents/FastenerInstantiatedTool/FastenerInstantiated.vue');
const InsulationCoverFrameTool = ()=>import('./views/WorkAreaComponents/InsulationCoverFrameTool/InsulationCoverFrameToolDlg.vue')
const WrapFramesDesign = ()=>import('./views/WorkAreaComponents/WrapFramesDesign/WrapFramesTool.vue');
const MaterialLibraryManager = ()=>import('./views/WorkAreaComponents/MaterialLibraryManager/MaterialLibraryManager.vue');
const PartDocMaterialSetting = () =>import('./views/WorkAreaComponents/MaterialConsumeStatisticsTool/PartDocMaterialSetting/PartDocMaterialSetting.vue');
const AssemblyDocMaterialSetting = () =>import('./views/WorkAreaComponents/MaterialConsumeStatisticsTool/AssemblyDocMaterialSetting/AssemblyDocMaterialSetting.vue');
const AssemblyDocMaterialStatics = () =>import('./views/WorkAreaComponents/MaterialConsumeStatisticsTool/MaterialConsumeStatistics.vue');
//隔热隔声紧固件实例化
const SoundInsulationFastenerInstantiation = () =>import('./views/WorkAreaComponents/HeatAndSoundInsulation/HeatSoundInsulationFastenerInstantiation.vue');
const router = new VueRouter({
    mode: 'history',
    routes: [
        {
            path: '/',
            redirect: '/Page404',
        },
        {
            name: '404',
            path: '/Page404',
            component: Page404
        },
        {
            name: 'measureCable',
            path: '/measurecable',
            component: MeasureCableTool
        },
        {
            name: 'BundleSegmentExport',
            path: '/bundleSegmentExport',
            component: BundleSegmentExportTool
        },
        {
            path: '/soundInsulationWeight',
            name: 'soundInsulationWeight',
            component: SoundInsulationWeightTool
        },
        {
            path: '/soundInsulationMaterial',
            name: 'soundInsulationMaterial',
            component: SoundInsulationMaterialTool
        },
        {
            path: '/fastenerInfoImport',
            name: 'fastenerInfoImport',
            component: FastenerInfoImport
        },
        {
            path: '/fastenerInfoStatistics',
            name: 'fastenerInfoStatistics',
            component: FastenerInfoExport
        },
        {
            path: '/flightControlSimulationOutput',
            name: 'flightControlSimulationOutput',
            component: FlightControlSimulationDesign
        },
        {
            path: '/electricalComponentImport',
            name: 'electricalComponentImport',
            component: EletronicInfoImportTool
        },
        {
            path: '/electricalComponentExport',
            name: 'electricalComponentExport',
            component: EletronicInfoExportTool
        },
        {
            path: '/electricalCableImport',
            name: 'electricalCableImport',
            component: ElectricalCableImport
        },
        {
            path: '/convertHIToHA',
            name: 'convertHIToHA',
            component: ConvertHIToHATool
        },
        {
            path: '/edzEdgeAutoConnect',
            name: 'edzEdgeAutoConnect',
            component: EdzEdgeAutoConnectTool
        },
        {
            path: '/compositeCADCAEManage',
            name: 'compositeCADCAEManage',
            component: CompositeMaterialManageTool
        },
        {
          path:'/frameHeatSoundInsulation',
          name:'frameHeatSoundInsulation',
          component:FrameHeatSoundInsulation
        },
        {
            path: '/fastenerInstantiation',
            name: 'fastenerInstantiation',
            component: FastenerInstantiatedTool
        },
        {
            path: '/packageFrameSoundInsulation',
            name: 'WrapFramesDesign',
            component: InsulationCoverFrameTool
        },
        {
            path: '/materialLibraryManager',
            name: 'materialLibraryManager',
            component: MaterialLibraryManager
        },
        {
            path: '/partDocMaterialSetting',
            name: 'partDocMaterialSetting',
            component: PartDocMaterialSetting
        },
        {
            path: '/assemblyDocMaterialSetting',
            name: 'assemblyDocMaterialSetting',
            component: AssemblyDocMaterialSetting
        },
        {
            path: '/assemblyDocMaterialStatics',
            name: 'assemblyDocMaterialStatics',
            component: AssemblyDocMaterialStatics
        },
        {
            path: '/electricalInfosManage',
            name: 'electricalInfosManage',
            component: CmdDlgElectricalInfosManage
        },
        {
            path: '/flightControlUploadXML',
            name: 'flightControlUploadXML',
            component: FlightControlUploadXML
        },
        {
            path: '/soundInsulationFastenerInstantiation',
            name: 'soundInsulationFastenerInstantiation',
            component: SoundInsulationFastenerInstantiation,
        }
    ],
});

export {router};